import request from '@/utils/request'

//电子围栏操作
export function vehicleElectricFence(data, type) {
    return request({
        url: '/business/vehicleElectricFence',
        method: type,
        data: data
    })
}
//电子围栏列表
export function vehicleElectricFenceList(data) {
    return request({
        url: '/business/vehicleElectricFence/list',
        method: 'get',
        params: data
    })
}

//电子围栏操作
export function vehicleSafetyInspection(data, type) {
    return request({
        url: '/business/vehicleSafetyInspection',
        method: type,
        data: data
    })
}
//电子围栏列表
export function vehicleSafetyInspectionList(data) {
    return request({
        url: '/business/vehicleSafetyInspection/list',
        method: 'get',
        params: data
    })
}
//驾驶证列表
export function vehicleLicenseList(data) {
    return request({
        url: '/business/vehicleLicense/list',
        method: 'get',
        params: data
    })
}
//车辆列表
export function vehicleInfoList(data) {
    return request({
        url: '/business/vehicleInfo/list',
        method: 'get',
        params: data
    })
}
//车辆报警 （事件中心）列表
export function vehicleAlarmList(data) {
    return request({
        url: '/business/vehicleAlarm/list',
        method: 'get',
        params: data
    })
}